<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>01-函数定义组件</title>
	<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">
	<script src="http://static.web.sdo.com/chuanshi/common/react.development.js"></script>
	<script src="http://static.web.sdo.com/chuanshi/common/react-dom.development.js"></script>
	<script src="http://static.web.sdo.com/chuanshi/common/babel.min.js"></script>
</head>
<body>
	<div id="app"></div>
</body>
</html>
<script type="text/babel">
	function App(){
		return (
			<div className="container">
				<h1 className="text-danger">这里是函数定义的组件</h1>
			</div>
		)
	}

	ReactDOM.render(<App/>,document.getElementById('app'))
</script>